package com.example.shop.service;

import com.example.shop.entity.Product;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ProductService {
    public List<Product> getProductList();

    int addproduct(Product product);

    Product getproductById(int productId);

}
